<?php
return array(
    // 数据库配置信息
    'DB_TYPE' => 'mysqli', // 数据库类型
    'DB_HOST' => '10.66.138.222', // 服务器地址
    'DB_NAME' => 'shaoyangduobao_test', // 数据库名
    'DB_USER' => 'root', // 用户名
    'DB_PWD' => '7758258sb', // 密码
    'DB_PORT' => 3306, // 端口
    'DB_PREFIX' => 'go_', // 数据库表前缀

    // 绑定MODULE
    'DEFAULT_MODULE' => 'Duobao',
    'MODULE_ALLOW_LIST' => array(
        'Duobao'
    ),

    // 忽略URL大小写
    'URL_CASE_INSENSITIVE' => true,
    // 开启rewrite模式
    'URL_MODEL' => 2,

    'SESSION_TYPE' => 'Memcached',
//    'MEMCACHE_HOST' => '10.131.158.116',
//    'MEMCACHE_PORT' => '11211',
    'MEMCACHED_SERVER' =>array(
        array('127.0.0.1', 11211, 1),
    ),
    'SESSION_OPTIONS' => array(
        'name' => 'shaoyangduobao_test',
        'expire' => 180000
    ),
    'SESSION_PREFIX' => 'sydb',

    'DATA_CACHE_TYPE' => 'Memcached',
    'DATA_CACHE_PREFIX' => 'shaoyangduobao_test',

    // CDN域名
    'CDN_DOMAIN' => 'http://cdn.sydb.weizhuanqiandao.com/',#上传图片的读取路径
    'UPLOAD_PATH' => 'statics/uploads/',#上传图片的读取路径

    'token' => 'b4f77468622c7a4f8f75740f38aa9407',#lightrain 微信验证token
    'EncodingAESKey'=> 'lZPcnDd4Qa8ylDsxRU2Bke0dkiY3qCEXsZfxMAWQCmb',
    'AppID' => 'wx2db9737e4aab53ff',
    "AppSecret" => "94ec010f482ee33f0b52dfcfbdf010f8",
    "QIYE_PAY_URL"=>"https://api.mch.weixin.qq.com/mmpaymkttransfers/promotion/transfers",
    "mch_id"=>"1287267601",
    "apikey"=>"981d674ea21cca94eaef460ea84dcusb",
    "cert_path"=>"/apiclient_cert.pem", #证书暂留
    "cert_key_path"=>"/apiclient_key.pem",
    'NOTIFY_URL'=>'',
    'REPORT_LEVENL'=>0,
    'CURL_PROXY_HOST'=>'0.0.0.0',
//    'app_name'=>'任性，就是发个小钱',
//    'nick_name'=>'任性，就是发个小钱',
    'body' => '邵阳夺宝',
    'tag' => '邵阳夺宝',
    'attach' => '邵阳夺宝',
    #同一定向到零元夺宝的商户
    "payAppID"=>'wx67522389d512bf1e',
    'payAppSecret'=>'0fa8d3caeeca97dc2071461bd9f43af6',
    'paymch_id'=>'1231524502',
    "payapikey"=>"0fa8d3caeeca97dc2071461bd9f43a12",
    'paywxhao'=>'xiaohua_test',
    'payAPP_URL'=>'http://api.xiaohua.weizhuanqiandao.com',

    #对应多个公众号的配置，做的适应性配置
    "APP_NAME" => '邵阳夺宝',#公众号名称
    "APP_URL" => 'http://api2.shaoyangduobao.weizhuanqiandao.com',#域名，主要非 '/' 结尾
    "FRONT_URL" => 'http://front.weizhuanqiandao.com', //微信授权返回前端地址
    "UPLOAD_IMG" => '/data/www/shaoyangduobao/statics/uploads/',#用户晒单的图片上传路径
    "SECRET_KEY"=>'54c7f125855f67156f800c6bc3379eee',#Lightrain JWT加密字符串md5(),用户token的加密与解密

    #分享的标题，图片，名称等信息,自定义分享
    "SHARE_IMG" =>'http://t2.qpic.cn/mblogpic/a8c45bef7dfbf9b88f2e/460',
    "SHARE_NAME"=>'邵阳夺宝',
    "SHARE_TITLE"=>'邵阳夺宝',

    'wx_welcome_url'=>'http://api2.shaoyangduobao.weizhuanqiandao.com/User/handle_winxin_output_url?c=detail&sid=175',
    #定义验证码图片的目录
    "appimg"=>'shaoyangduobao',
    'qrcode'=>'sydb_qr',#存储二维码

    'wx_hao'=>'shaoyangduobao_test',

    'ping_apikey'=>'sk_live_vDKafL5yfXvD1mbPG09KejPS',
    'ping_appid'=>'app_nDKaP4uzXTyTzbLS',

    'public_key_path'=>'/data/www/duobao-api/Application/Common/pem/pingxx_rsa_public_key.pem',
    #wx_id用于浏览器跳转到微信公众号
    'wx_id'=>'gh_b6de64c0f93f',
);